//Test of the Queue
/* #include "queue.h"
#include "Customer_Obj.h"
#include "Time.h"
#include <time.h>
#include <iostream>
using namespace std;

int main(){
    
    //Customer_Obj cust_array[1000];
    queue test_queue = queue();
    Customer_Obj test_customer = Customer_Obj();
    test_customer.createFirstNameArray();
    test_customer.createLastNameArray();
    
    for(int i = 0; i < 999; i++){
            srand(time(NULL)+i);
            int rr = rand();
            //cout << rr;
            //system("PAUSE");
            srand(rr);
            Customer_Obj test_customer = Customer_Obj();
            test_customer.createFirstNameArray();
            test_customer.createLastNameArray();
            test_customer.setFirstName();
            test_customer.setLastName();
            test_customer.setArrivalTime();
            test_customer.setLineProcessTime(rr%13);
            // cout << test_customer.getFirstName(); //Debugging
            test_queue.enqueue(test_customer);
    }
    
    if(test_queue.isEmpty())
                            cout << "The queue is empty. Failure.";
    cout << "Test Queue Size: " << test_queue.getCurrentSize() << endl << endl;
    
    while(!test_queue.isEmpty()){
            test_customer = test_queue.dequeue();
            cout << test_customer.getFirstName() << " " << test_customer.getLastName() << " at " << test_queue.getCurrentSize() << endl;
            if(test_customer.getFirstName() == "Willy" && test_customer.getLastName() == "Wonka")
                                          system("PAUSE");
            if(test_customer.getFirstName() == "Lex" && test_customer.getLastName() == "Luthor")
                                          system("PAUSE");
    }
    cout << "Max wait: " << test_queue.getMaxWait() << endl;
    cout << "Max Size: " << test_queue.getMaxSize() << endl;
    
    system("PAUSE");
    return(0);
}
*/
